#ifndef OBSERVER_H
#define OBSERVER_H
#include "Subject.h"

class Observer {
public:
	virtual	~Observer();
	virtual void Update(Subject* ChngSubject, EVENT e) = 0;
	void RegisterToSubject(Subject* Subject, EVENT e);
	void UnregisterFromSubject(EVENT e = EVENT_ALL);
protected:
	Observer(); 
	Subject* sbj;
};
#endif